package com.nthink.indicators.mapper.qualitymanagement;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nthink.indicators.pojo.qualitymanagement.DrugManagement;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;

@Mapper
public interface DrugManagementMapper extends BaseMapper<DrugManagement> {
    //    抗菌药物处方数/每百张门诊处方（%）
    public double getOutAntibacterialsPercent(Date startTime, Date endTime);

    //    注射剂处方数/每百张门诊处方（%）
    public double getOutInjectionPercent(Date startTime, Date endTime);

    //    药费收入占医疗总收入比重（%）
    public double getDrugFeePercent(Date startTime, Date endTime);

    //    抗菌药物占西药出库总金额比重（%）
    public double getAntibacterialsDrugFeePercent(Date startTime, Date endTime);
}
